<!doctype html>
<html lang="en">
	<head>
		<title>JavaScript Patterns</title>
		<meta charset="utf-8">
	</head>
	<body>
		<script>
			/* Title: Sub Module Pattern 
			 Description: create a sub module.
			 */
			
			MODULE.sub = (function () {
				var my = {};
				// ...

				return my;
			}());

			
			// Reference
			// http://www.adequatelygood.com/JavaScript-Module-Pattern-In-Depth.html
			
		</script>
</html>